.error {
    color: red;
    background: lightgrey;
    font-size: 20px;
    border-style: solid;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

/*list animation*/
.listTransition-enter {
    opacity: 0;
    transform: scale(0.9);
}

.listTransition-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}

.listTransition-exit {
    opacity: 1;
}

.listTransition-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms, transform 300ms;
}

/*comments animation*/
.item-enter {
    opacity: 0;
    transform: scale(0.9);
}

.item-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms, transform 300ms;
}

.item-exit {
    opacity: 1;
}

.item-exit-active {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 300ms, transform 300ms;
}


html, body {
    min-height: 98vh;
    width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}


body::-webkit-scrollbar {
    width: 0px; /* 移除滚动条 */
}

/*body {*/
/*    background-image: url('../public/bg3.jpg');*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-size: cover;*/
/*}*/
* {
    cursor: url('../public/icons8-cursor-color-for-better-life-32.png'), auto !important;
}

/* Loading.css */
/* Loading.css */

@keyframes dot {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(2);
    }
    /* Increase scale for more dramatic animation */
}

.dot {
    color: #DC143C;
    display: inline-block;
    width: 5px; /* Reduce size for less bold dots */
    height: 5px; /* Reduce size for less bold dots */
    margin-right: 5px;
    background-color: #333;
    border-radius: 50%;
    animation: dot 1.2s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}


html {
    scrollbar-gutter: stable;
}

.slide::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;

}

.slide::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    /* background: transparent; */
}


.slide::-webkit-scrollbar-thumb {
    background-color: rgb(56, 56, 56);
}

.modifytext p {
    font-size: 18px;
    margin: 2px 0;
}

.modifytext h2, .modifytext h3, .modifytext h1 {
    font-size: 20px;
    margin: 4px 0;
}

.flexCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginform {
    margin-top: 20px;
    /*padding: 32px;*/
    borderRadius: 16px;
    background: #136a8a; /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #267871, #136a8a); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #267871, #136a8a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: white;
}

.fixedTop {
    margin-top: 30px;
}

@keyframes getBigAndAppear {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    50% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animation-home {
    animation: getBigAndAppear 0.3s forwards linear;
}

@keyframes getBigAndColorize {
    0% {
        transform: scale(0.6);
        filter: grayscale(100%);
    }
    50% {
        transform: scale(0.8);
        filter: grayscale(50%);
    }
    100% {
        transform: scale(1);
        filter: grayscale(0%);
    }
}

.animation-login {
    animation: getBigAndColorize 0.3s forwards linear;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeIn-animation {
    animation: fadeIn 1s ease-in-out;
}

@keyframes blogPageEnter {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animation-blog {
    animation: blogPageEnter 0.5s ease-out forwards;
}

.bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: lightblue;
    position: absolute;
    bottom: 0;
    animation: rise 2s linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

h1 {
    color: green;
    font-style: italic;
}

li {
    color: grey;
    padding-top: 3px;
    font-size: 12px;
}


.person {
    color: red;
    padding-top: 5px;
    font-size: 15px;
}